fixes AcceptJoin not releasing the mutex and causing deadlock when server has to refuse a connection