try fresh connection for curl
also forbid reuse of connections
backwards compability for location