Make travis build code wait for server startup