Put a lock around the content of this method, we don't want to assume that it wont be racey.  Also if it is racey (due to config values or a slow client etc.), not having a lock could result in the client crashing.