use netstat to wait for server start

rather than simply sleeping for a long enough amount of time, thereby
making the script block until the server is up and less prone to
potential race conditions

try with true instead
Merge branch 'poll_for_server_start'