Script in background

Hi, I have a python script that is connecting to a webrtc server with websockets. I want this script to receive commands in background, but the asyncio library blocks the unreal UI.
Is there a way to run a script in background without blocking the UI?