Set socket polling duration and close timeout

Means players know whether one has disconnected quickly.