For testing, I want to test sending data to local 9090 port. I am using a while loop to achieve this. But the while loop is not getting triggered, the script is getting stuc