to add the waitforsingleobject debug info