Upon arresting a defendant on a writ of capias ad satisfaciendum, the sheriff shall receive the sum due thereon if offered.