Fix IE10 socket disconnects