HIVE-6097: Sessions on Tez NPE when quitting CLI (Gunther Hagleitner)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/tez@1553108 13f79535-47bb-0310-9956-ffa450edef68