Catch a possible exception.

Now the server doesn't randomly crash when players (dis?)connect.