Add a synchronous mode to the cloudi_logger to prevent excessive memory consumption and system death.