Make the monit collector more robust