Keepalive
An idle WebSocket closes automatically after 5 minutes.
Keep the WebSocket connection open by sending keepalive ping messages periodically.
The keepalive ping message would be constructed like below:
{
"jsonrpc": "2.0",
"type": "command",
"method": "keepalivePing",
"params": {},
"id": "<COMMAND_ID>"
}