Close SSH channel after exit status received [GH-603]