Check if server is alive before test