A witness who disobeys a subpoena served on the witness shall also forfeit to the party requiring the attendance of the witness the sum of $50 and all damages which that party may sustain by the failure of the witness to attend. The forfeiture and damages may be recovered in a civil action.