Swap out a time.sleep for wait_for_port

I used this in the SeConf demo, worked fine.