Check for the existence of a client object before accessing it.