'Shutdown the PAIR socket (created using get_monitor_socket)
that is serving socket events.
.. versionadded:: 14.4'

def disable_monitor(self):

    self._monitor_socket = None
    self.monitor(None, 0)
