remove hook for coroutine