added error test to SimpleProducer for connection errors