[startplasma] Do not call QProcess::close() before QProcess::terminate()

Calling QProcess::close() before QProcess::terminate() will cause the process to be killed before we try to terminate it.

BUG: 97716
2 jobs for !1364 with bug97716 in 4 minutes and 23 seconds (queued for 2 seconds)
merge request