Add retries to push_to_queue producer

Don't fail immediately when trying connecting to the Broker. Retry a few times with some small pause.