If any sheriff or other officer shall wilfully refuse or fail from neglect to execute any summons, subpoena or attachment for a witness, or any other legal process which it is made his duty by law to execute, he shall be liable to a fine for contempt not less than ten nor more than two hundred dollars, at the discretion of the court. The payment of such fine shall be enforced in the same manner as fines for contempt in civil cases.
Tex. Code Crim. Proc. § 2.16