It shall be the duty of the person having the custody of an accused to take reasonable care of the health and safety of the accused.