Only decrement pending requests on non-cached requests
Merge pull request #116 from max-li/updaterequests

Only decrement pending requests on non-cached requests