Only abort process if it hasn't exited yet