WaitForClient moved to server, now working.