improvements in thread control for thread safe occi client operations