added a close method to disconnect the producer and commented the example program.