We were at least two in our company having this problem suddenly, so fixing this issue at server level was needed, instead of changing a setting in VSCode. This solution fixed the server and VSCode is now able to create a new terminal again :
https://github.com/microsoft/vscode-remote-release/issues/4233#issuecomment-815198379