added uv_thread_exit