Fix occasional sheep-shearing server crash