fixing an issue where a network could be created twice in the client