Fixed a bug in the async producer example and clarified the
documentation.