Removed a race condition with a network mutex