Any officer who shall deliver to the agent for extradition of the demanding state a person in his custody under the Governor's warrant, in willful disobedience to section 3810 of this title, shall be fined not more than $1,000 or imprisoned not more than six months, or both.