Assertion failure in ns_client_endrequest when shutting down
Scenario:
- We are shutting down, interface->clientmgr is gone
- We receive a packet, it gets through ns__client_request
- mgr == NULL, return
- isc_nmhandle_detach calls ns_client_reset_cb
- ns_client_reset_cb calls ns_client_endrequest
- INSIST(client->state == NS_CLIENTSTATE_WORKING || client->state == NS_CLIENTSTATE_RECURSING) is not met - we haven't started processing this packet so client->state == NS_CLIENTSTATE_READY.
Solution - don't call ns_client_endrequest if client->state == NS_CLIENTSTATE_READY