Player runs disconnect on socket error.

Remove unneeded variables.