run synchronizing tasks in the background with celery