hide the terminate listener in the container