Bug 936222: Add error handling for cases we have no pending requests. r=bhearsum