exit if subshell already exists