Close connection prior to falling back to get, since we change the url back to the original at that time.