Fixed integration with node's uv loop