to change the status thread into ioinject_thread.cpp