Added uv_ref/unref to the event callbacks.  Not sure if needed.