[fix] uv_check wrappers should use duv_handle_context structure and duv_handle_close