But in case the default be made before a commissioner, arbitrator, referee or other person, acting under a commission or authority from any of the courts of this State, then the same shall be certified under his hand, and returned with the subpoena to the court by which he was commissioned or empowered to take the evidence of such witness; and thereupon the court shall adjudge the defaulting witness to pay to the party at whose instance he was summoned the sum of forty dollars ($40.00); but execution shall not issue therefor until the same be ordered by the court, after such proceedings had as shall give said witness an opportunity to show cause, if he can, against the issuing thereof.
N.C. Gen. Stat. § 8-80