Moved Cout<<Waiting for connection into the server while loop