improved the debugging
added a close method in the EventProducer, to avoid errors in unit tests

do not use EventProducerFactory in the test of the HornetQEventProducer