Indeed- but the way I understood it is that he seemed to think that trains could slow down and wait their turn like at normal traffic lights. I've recently been wondering about timings on crossings anyway- there's one that I get stopped at if I'm a bit slow on the way home from work, often five minutes (I time it...) before a train appears from the lights going red.
There are various types of crossings on the UK network. From a timing perspective the distinguishing factor is if it is Manual or Automatic.
Automatic Crossings (either half barrier or no barriers) only require approx 20-30 secs (It's specified in the RSSB regulations I believe) of gates down before train crosses over. In this instance the crossing is NOT protected by a signal. Some of these the driver of the train must check the crossing has operated (there is a local indication) before proceeding through... others which are alarmed back (for crossing failure) to a signal box, the train runs through at line speed (there's little chance of stopping if car stops on a crossing for example).
Manual Crossings. These are operated manually by a crossing attendent/signalliner on site, or remotely from a signal box. These crossings are protected by signals (for the train I mean) and the signal cannot be cleared until the crossing is checked to see that all gates are down and crossing is clear of obstructions (either on site or remotely via CCTV). Crossings will have full barriers (or manually operated gates). For efficient operation of the railway we do NOT wish the driver of the train to have to slow down for the crossing, hence it's desired to have the protecting signal cleared before the train arrives at it (in fact it has to be cleared well in advance for multi-aspect signals such that preceeding signals do not show caution, in order to do this the time the barriers are down are longer (usually 2-3 mins , again there is a defined maximum). I would suspect in your case of 5 mins it could be that the timings are conservative (or signaller has been very quick to respond to the train approaching annunciation to manually lower barriers), or there could have been a second train approaching in which case signaller has decided to keep crossing closed to road traffic.
Hope this helps. (apologies for going off the topic).