attempt to recover from a failed save by halving batch size, closes #270