public void stop() {
   if (responseThreadRunnable != null) {
     responseThreadRunnable.stop();
   }
 }
 public void sendResponse(TextCommand textCommand) {
   if (!textCommand.shouldReply() || textCommand.getRequestId() == -1) {
     throw new RuntimeException("Shouldn't reply " + textCommand);
   }
   responseThreadRunnable.sendResponse(textCommand);
 }