Some flights into JFK Airport spent hours taxiing before they could park at a gate, with over 1,400 flights in the area disrupted.