why 30? this would make every time you try to ssh to wait for 30 seconds? I think its better to try in shorter intervals?