Do we therefore need to wait for the process to terminate as well? I think this will send the signal and then immediately continue with next steps, which could involve stopping VM etc.