Whenever there's a single publisher that publishes a few messages (like in the demo) and then shuts down, we need to ensure (hello bracket) that the messages are delivered before we close the connection.
Right now, if we don't put a threadDelay, not all the messages are delivered.