socket.emit "enter_sleep_mode" and "exit_sleep_mode"