Handle connectivity issues in Perfmon datasource.

Fixes ZEN-9261.
Version 2.0.0dev51 -> 2.0.0dev52.