fixed bug with non-blocking ssh.exec_command()