code: def close_connection(self, address, cause):
          
          try:
              connection = self.connections[address]
              connection.close(cause)
          except KeyError:
              self.logger.warning("No connection with %s was found to close.", address, extra=self._logger_extras)
              return False
docs: Closes the connection with given address.
  
          :param address: (:class:`~hazelcast.core.Address`), address of the connection to be closed.
          :param cause: (Exception), the cause for closing the connection.
          :return: (bool), ``true`` if the connection is closed, ``false`` otherwise.