code: public void resetConnection(Address address) {
      Connection connection = connections.remove(address);
      if (connection != null) {
        connection.close();
      }
    }
docs: Resets the connection to the given address.
  
  @param address The address for which to reset the connection.