added error handling for paramiko query