The issue that I have is that I want to emit a message to the frontend but the message is lost from the celery task and working from the main thread. the print statement is