Perform user check in a subshell to avoid the script failling