This break would previously jump out of the scope of a lock acquire-release. Since this if statement doesn't seem dependent on the lock, I moved it out.