HIVE-8392: HiveServer2 Operation.close fails on windows (Vaibhav Gumashta reviewed by Thejas Nair, Gunther Hagleitner)