public void remove(@NotNull T listener) {
    SimpleMessageBusConnection connection = myListenerToConnectionMap.remove(listener);
    if (connection != null) {
      connection.disconnect();
    }
  }
public void remove(@NotNull T listener)