_pending_tasks is a dict now, implemented cancel_pending_task(),
_batch_cache doesn't store the Cache DelayedCall anymore as it was
stored in _pending_tasks too.