On refresh the service was restarted but the connection wasn't closed, therefore each incoming message was handled n times.