I am considering a flight that goes through San Francisco's airport. It lands at the international terminal and the connecting flight takes off from terminal 1, 40 minutes later. I pulled up the terminal map and it looks kinda far, with trains running twice through the path. Do you have to get on a train? Can it be walked? Does the timing seem rushed? I will have carryone luggage I have to move.