def close(self):
        try:
            if self.gearman_socket:
                self.gearman_socket.close()
        except socket.error:
            pass

        self._reset_connection()
Shutdown our existing socket and reset all of our connection data
dataset/ETHPy150Open YelpArchive/python-gearman/gearman/connection.py/GearmanConnection.close