Websockets in actor

hi,

I would like to wrap a websockets server as here: Getting started — websockets 9.0 documentation

into a ray actor.
I get: RuntimeError: Cannot run the event loop while another loop is running

is there any way to do that?