docs: @Override
      public void connectionClosed() {
          lock.lock();
          try {
              connectionOpen = false;
              if (state != null)
                  state.disconnectFromChannel();
          } finally {
              lock.unlock();
          }
      }