Implement more sensible worker lock.