Use an event variable to wait for the server to be ready, not time.sleep().
1 file changed