6df5d77 tests: Don't call virNetServerClientClose without valid client

Authored and Committed by John Ferlan 6 years ago
    tests: Don't call virNetServerClientClose without valid client
    
    If @client hasn't been opened, then don't call virNetServerClientClose
    since that'll cause certain failure.
    
    Found by Coverity
    
    Signed-off-by: John Ferlan <jferlan@redhat.com>