Fix channel inactive handling for SSH transport