zapd: close the client after the request