this prevents a potential crash during shutdown when an interface is destroyed while a client object is still in flight.