fixed server crash on client disconnect