Detect if collector is down. Fixes #4345