Who had to stay with his master until the end of his service or until he had paid his debt?