remove obsolet functions
remove obsolet thread_task_ctb
fix progress_lock reset