Checkmk Werk 10619: Improve error-handling in poller