Mine had the same problem. After pulling over a few times and switching the engine off, I was good to go again. My dealer said it was ok to drive until they could fix it. The fault only came back after long drives.
They fitted a new EGR valve, and it hasn't happened again.