Based on commit f7c5c452df5b0918357fc98003aafde9e18304f9 of dumbfixes branch of 0xFEEDC0DE64 fork of ESPAsyncWebServer. In addition to indentation changes, now the queues are no longer unlocked before attempting to write the messages to the socket.