Retry test request a few times in case the server is still starting up