@Override
      public void completed(AsynchronousSocketChannel channel, Void attachment) {
        synchronized (myLock) {
          myConnection = channel;
        }
      }
@Override
      public void completed(AsynchronousSocketChannel channel, Void attachment)