You've got to circle the path fast enough. The doors open and close on a timer.
I suggest to drift (brake a fraction of a second, then turn).