def stop(self):
        if not self.done:
            self.log.info("Socket thread stopping.")
            self.sending_queue.put('goodbye')
            time.sleep(1)  # give it a chance to send goodbye before quitting
            self.done = True
            self.mc.done = True
Stops and shuts down the BCP server.
dataset/ETHPy150Open missionpinball/mpf/mpf/media_controller/core/bcp_server.py/BCPServer.stop