Probably a better job than the panty waist liberals who run our country. IMO, gitmo should be a temporary housing prison, keep them while pumping for info, then execute under military law. It worked for the Nazis.
Egypt actually cracked down very hard on the Muslim Brotherhood in the 1980's. Torture, Prison, Execution. We could take a play from their book on cleansing terrorists. (Unfortunately the terrorists fled to Afghanistan but that is another story).