fix undetached again, no sleep