Issue #197: WebSocket should be closed / reopened after the system goes to sleep / wakes up