subshell to avoid child killing parent