minor fix
Merge pull request #1 from alvico/merge_branch

Merge branch from Albert including SSH gateway
fixes into remoted client for setting up a timeout to exec command function
merge
changed the if condition in order to trigger the cmd timeout, so now it goes at the same lvl that the channel ready status