Creation of socket outsied while loop