More robust call for curl - handles the fact that managers may not be
running or slow to respond.