Swap out for nonblocking lock and retries

This should help with thundering builds by adding some celery retry logic to
update_docs