Eradicate artificial sleeps

Wait for the port to open instead