add domain.exit() and dispoe()