fixes gh-170 web and api gateways have configuable timeout