Rasa export throwing exceptions

I am trying to export events to an external RabbitMQ broker.

To that end, I connect to rasa (3.4.0) container and run:

rasa export --minimum-timestamp 1674512360 --debug > export_debug.log 2>&1

I am getting a lot of output, but it all ends with:

Done! Successfully published 5 events 🎉
2023-01-25 21:29:03 ERROR    asyncio  - Future exception was never retrieved
future: <Future finished exception=CancelledError()>
asyncio.exceptions.CancelledError
2023-01-25 21:29:03 ERROR    asyncio  - Future exception was never retrieved
future: <Future finished exception=CancelledError()>
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/aiormq/connection.py", line 503, in close_writer_task
    exc = task.exception()
asyncio.exceptions.CancelledError
2023-01-25 21:29:03 ERROR    asyncio  - Future exception was never retrieved
future: <Future finished exception=CancelledError()>
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/aiormq/connection.py", line 503, in close_writer_task
    exc = task.exception()
asyncio.exceptions.CancelledError

Although the log mentioned that the events are successfully published, this is actually not the case. The write action to the RabbitMQ never happens because of the exception in the log.

What is the cause of this problem (probably some async timeout) and how can I resolve it?