It sounds like a future vent. Some plumbers want it left open so the water doesn't fill the pipe up and make it hard to open in the future. Some plumbers want it closed so you don't get dripping from it.
I would not make it any shorter than it is. I would just put a cap on it and leave it alone till it is need in the future.