Close the client channel before closing the ServiceHost