Don't pause if we got a lock

I'm not sure how this slipped through previously, as it adds 10ms
per lock to each request completely pointlessly. The biggest impact
this has is on the poll/poll endpoint, which iteracts with all the
user's projects, though all requests should be sped up by this fix.

Change-Id: I32854e6559f70ef8b5db367adb0f8db3338c2791