Fix #130 Handle WebSocket connection gracefully when network state is changed