minor cleanups
generic performResumeRoutine