resetting counters and deleting resolved/rejected deferreds now to avoid excessive memory consumption