finish thread_logger