Bit of retry logic

This is related to rtfd/readthedocs.org#553
Kind of a first pass at adding some Celery retries to builds that are still locked. Hopefully this reduces the thundering build problems but **I need help testing this**
I don't have the full env setup here and testing the celery retry stuff I'm not 100% sure how to go about doing.