Find out that this command should be split into the 2:
exec bash --noprofile --norc
export TMOUT=10
And run via send(), (don't forget about /n in the end). And also there will not be
paramiko.SSHException
You will receive
{OSError}OSError('Socket is closed')