Cleanup resume/suspend functions