Quit subprocess automatically.