Yeah probably, by not breaking the law..
Check it out:

“We could have done a better job … of keeping you informed,” Defense Secretary Chuck Hagel told the House Armed Services Committee on Wednesday at a hearing on the swap of five Taliban fighters for Army Sgt. Bowe Bergdahl.

“I recognize that the speed with which we moved in this case has caused great frustration — legitimate questions and concern.”