add periodic task to check pillow errors
Merge pull request #3156 from dimagi/retry-alert

add periodic task to check pillow errors