Instead of calling isc__nmhandle_detach calling nmhandle_detach_cb() asynchronously when there's closehandle_cb initialized, convert the closehandle_cb to use isc_job, and make the isc__nmhandle_detach() to be fully synchronous.
Instead of calling isc__nmhandle_detach calling nmhandle_detach_cb() asynchronously when there's closehandle_cb initialized, convert the closehandle_cb to use isc_job, and make the isc__nmhandle_detach() to be fully synchronous.