HIVE-7773: always return a thread local IOContext