Sync on lock for throttling requests in multithreaded env.