Fix OSSEC collector looping.

It should skip servers with connection issues.
Merge branch 'fix_collector_loop'