Closes the connection if more than 3 messages are dropped.