cleanup of NetworkElementFactory