sleep/resume handler debug 3