sleep/resume handler debug 2