Comment WriteFile and wait for valid IP into listener thread