Ensure inner callback have returned in iterateOverX methods