Fix websocket send_ping
Add timeout to websocket app