Added server-side handling of player connection loss.