fixed bug failed requests bug

Fixed a bug where failed requests were not getting removed from queued
requests variable which results in failure to accept new requests
assuming request pipeline is full