Added exit on Put() errors.