fix timeout issue by not closing the ssh session