Synchronize the request queue for thread safity