sleep/resume handler debug 5