The only way the Congress can end it is either pass a bill that the President signs so it becomes law or withhold funding. Neither of which is going to happen.
BTW, the President could also close Gitmo anytime he likes. All he would have to do is order the military to pack up and leave. Why do you think he hasn't do that?