add ping server to keep websocket connection alive