Use uv_ref/uv_unref and uv_queue_work, rather than the deprecated ev_* functions.