HIVE-5768 Beeline connection cannot be closed with not close command (Navis Ryu via Brock Noland)

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