I am trying to stop an ffmpeg running process from a different function than the one I started the process. When ending the recording I only have references for the process