Better errors handling for jmxfetch