code: public boolean removeHandler(PacketHandler handler) {
          synchronized (this.handlers) {
              boolean removed = this.handlers.remove(handler);
              if (removed) {
                  this.count.decrementAndGet();
              }
              return removed;
          }
      }
docs: Removes an existing packet handler from the pipeline.
  
  @param handler The handler to be removed
  @return Returns true if the handler is removed successfully. Returns false, if the handler is not registered in the
  pipeline.