Every person summoned as a juror who fails to appear without having a reasonable excuse shall forfeit a sum not exceeding twenty dollars, to be recovered by the coroner, in the name of the state, before any district judge of the county. The penalty when collected shall be paid over to the county treasurer for the use of the county.