Add handling for expections such as timeout or connection error

This way you can script the test to multiple ip addresses.