ThreadPool unittests: do not hold mutex when calling condition_variable:notify()