Flush suspend before the resume code