replace dictionary of pending requests with queue