prevent pillow errors from being retried excessively