Python: Listen on two ports,time.sleep(1)