def stop(self):
        '''Stop subscriber and delete the instance
        '''
        self.running = False
        time.sleep(1)
        if self.subscriber is not None:
            self.subscriber.stop()
            self.subscriber = None
def stop ( self ) : self . running = False time . sleep ( 1 ) if self . subscriber is not None : self . subscriber . stop ( ) self . subscriber = None
Stop subscriber and delete the instance