Close the machine. The function continues. However, all objects are immediatly destroyed (windows, timers, ...) I _closemachine ( )
always 0