Use FAILURES config value only when specified

This prevents the error
ERROR: Error limit () reached for host
when FAILURES isn't specified in the config file
Merge pull request #186 from PeterMosmans/timeout

Use FAILURES config value only when specified