initialize m_loop for ITask