(self)
Close and stop monitoring.

        open() restarts the monitor after closing.
Close and stop monitoring.
Close and stop monitoring .
def close(self):
        """Close and stop monitoring.

        open() restarts the monitor after closing.
        """
        self._executor.close()

        # Increment the pool_id and maybe close the socket. If the executor
        # thread has the socket checked out, it will be closed when checked in.
        self._pool.reset()
def close ( self ) : self . _executor . close ( ) # Increment the pool_id and maybe close the socket. If the executor # thread has the socket checked out, it will be closed when checked in. self . _pool . reset ( )