[SOLVED] ESP8266 publishes four topics but not 5

Have you tried a small delay between each publish?
Can you show the whole code, please?

Please use the code fences: