You're going to have to clear customs no matter what since you're transitting the US... There's really no other option. Once you pass immigration, you're in the US anyhow since the exit from the immigrations hall @ SFO dumps you streetside. Go out and have some beer and fun