A bit more efficiant play handeling in websocket