remove file after giffing and kill ffmpeg