sleep/resume handler debug 4