Wait until ssh comes back properly