Restore known_domains after domain is unpickled.