How to resolve "asyncio - Task exception was never retrieved" error

I’m building a chatbot in which the bot extracts the answer from the user & sends it to a model, after getting back the answer it is saved in a slot and returned back to the user. The bot is able to extract the question and sent it to the model, it also retrieves the answer from the model but while replying back to the user this error occurs. Model takes 5-6 seconds for generation answer from the question. Can this error be due to that?

The console output:

asyncio - Task exception was never retrieved future: <Task finished coro=<configure_app..run_cmdline_io() done, defined at /home/ubuntu/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/rasa/core/> exception=TimeoutError()> Traceback (most recent call last): File “/home/ubuntu/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/rasa/core/”, line 137, in run_cmdline_io sender_id=conversation_id, File "/home/ubuntu/anaconda3/envs/pytorch_lates