pause_thread, stop_thread implemented.