avoid NullPointerException
when stop EmbeddedHttpServer, clean UniqueObjectand it's children)