FIX: windows leaking handles with detached Cmd