Added threading to sending if celery isn't being used