add support for cancelling deferreds
more resilient loop, works even if array.prototype ahs extra members
Merge pull request #5 from csaftoiu/master

add support for cancelling deferreds