Attempt to connect 5 times before giving up
Merge pull request #42 from NielsZeilemaker/test-cleanup

Attempt to connect 5 times before giving up