maintenance thread_sample