handlersExecutor.execute(new Runnable() {
public void run() {
Command command = null;
try {
command = lockAndReceive(connection, control);
<BUG>if (command == null || command instanceof Stop) {</BUG>
if (command == null) {
LOGGER.warn("It seems the client dropped the connection before sending any command. Stopping connection.");
<BUG>}</BUG>
unlock(control);  //TODO SF - if receiving is first we don't need this really

handlersExecutor.execute(new Runnable() {
public void run() {
Command command = null;
try {
command = lockAndReceive(connection, control);
if (command == null) {
LOGGER.warn("It seems the client dropped the connection before sending any command. Stopping connection.");
unlock(control);  //TODO SF - if receiving is first we don't need this really
