Check if celery is up and messaging system is up before exeucting a task