Use an event variable to wait for the server to be ready, rather than sleep(0.1).
1 file changed