Oil gains over $1 on possible shipping disruptions