I think it is not functioning properly.
**
nope, we assume its working! :) btw, its a manual gate so the railway employee who is stationed there is his job to close the gate or else he'll lose his job :) there is a logical explanation so look closely :)
**