add catch for gateway timeouts on requests to idserver