Locks should only happen while rebuilding the process, not for every single http request