fix try/except block to include more exceptions paramiko might send