ESP8266 PubSubClient disconnecting when using with NeoPixel show() in loop

I found the problem. instead of calling rgbController.run(), which executes strip.show() every 20 ms, i called rgbController.paint(), which executes strip.show() constantly.

Thank you so much for helping, even if your solution didn't helped, you helped me not giving up.
Have a nice day!