when requests are queued, run the Upload requests first, to solve race condition.