added timeout to ssh connect, this can sometimes block infinitely.
adding a timeout attempts a reconnect on timeout and continues in this case.
Merge pull request #91 from borisnieuwenhuis/master

added timeout to ssh connect, this can sometimes block infinitely.