ThreadPool7 timer thread function correction