The court issuing any writ of mandamus may allow the person to whom such writ shall be directed, or other person who shall sue out or prosecute the same, such convenient time, respectively, to make return, plead, answer, reply or direct a motion to a pleading, as to the court shall seem just and reasonable.
§ 529.100, RSMo