Fixing the thread safety of the LarchClient

See https://www.pivotaltracker.com/story/show/74626476