Fixed issue where having more than one client at a time stopped server