Actually use cloexec and break out if the process is killed.