Bug 995458 - Only calls the last callback of an async operation r=jaoo, a=1.4+

https://bugzilla.mozilla.org/show_bug.cgi?id=995458