Delete QProcess after the process has finished

onProcessFinished can be invoked if the process terminates by itself, not necessarily as a result of calling stopOOPPlugin. So it seems a natural place to do all the cleanup.