expose gateway_unavailable_timeout as an arg