changed mClientEmptyCV to pointer due to conditionVariable interface change.