Forgot we couldn't use signal() outside the main thread
Removed import