Keep the lock close to the operation requiring it
Keep the lock close to the operation requiring it

This is only for readability and is unlikely to make a difference to the
compiled code.

jedisct1/edgedns,jedisct1/edgedns