'Shutdown the client and server.
Parameters
verbose : bool, str, int, or None
If not None, override default verbose level (see
:func:`mne.verbose` and :ref:`Logging documentation <tut_logging>`
for more).'

@verbose
def shutdown(self, verbose=None):

    logger.info('Shutting    down    ...')
    if hasattr(self, '_clients'):
        for client in self._clients:
            client['running'] = False
    self._running = False
    self._data.shutdown()
    self._data.server_close()
    self._data.socket.close()
