catching loop() exceptions in mqtt