Fixed crash on client disconnect