Issue 257: Fixed a race condition in LeaderLatch that cause the recipe to create
two nodes in some edge cases.