Add support for infinite timeout on produced messages