@classmethod
def unregister(cls, token):
    """
        Unregister the given Python function
        :param token: token, token provided by register method
        """
    pair = cls.tick_threads.get(token, None)
    if pair:
        pair[1].stop()
        del cls.tick_threads[token]
    return None
