Fixed out-of-order recording of pending requests
The problem was exposed through unit test 'checks if callback is specified' interfering with other tests