'Stop/remove tickers from handler.
Args:
interval (int): Only stop tickers with this interval.
Notes:
This is the only supported way to kill tickers related to
non-db objects.'

def clear(self, interval=None):

    self.ticker_pool.stop(interval)
    if interval:
        self.ticker_storage = dict(((store_key, store_key) for store_key in self.ticker_storage if (store_key[1] != interval)))
    else:
        self.ticker_storage = {}
    self.save()
