In case of the failure of a witness to attend, the court or officer before whom he is required to attend, upon proof of the due service of the subpoena, may issue a warrant to the marshal requiring him to arrest the witness and bring him before the court or officer where his attendance was required.