The judgment rendered on the trial of any writ of habeas corpus shall be conclusive until reversed, and, whilst so in force, shall be a bar to another habeas corpus in the same cause, or to any other proceedings, to bring the same matter again in question, except by appeal or by action for false imprisonment; nor shall any person so discharged be afterward confined for the same cause, except by a court of competent jurisdiction.