'Cancels the callback with the given name.
While the thread may continue to run until the next iteration, the callback
function will not be executed.
Args:
name: The unique name of the callback thread to cancel.'

@concurrency.serialized
def cancel_callback(self, name):

    self._callbacks[name].stop()
    del self._callbacks[name]
