I don't think it's really a problem because I'm sure the checks above don't generate any error, I have added the exception just to purposely throw an error in any case.
The exception is checked by asyncCheck which is part of the asyncfutures module. I have just tried to add nimTestErrorFlag on this function but it seems it doesn't change anything. When I add uv_stop it gets handled immediately, but I want to avoid to call it every time an async task raises an error
