ACCUMULO-2864 add nullcheck in ZooSession.shutdown