called die for subprocess