Fixed hang problem with ht_ssh