fixing EventListenerSupport usage
optimize example shutdown