The uv_ref and uv_unref calls are unnecessary when using uv_queue_work with uv_default_loop; remove them and avoid a random segfault.