Fixed #2207 Server crashing if players are closed before logging in