Sometimes image is not being loaded.

Exception inside application: Single thread executor already being used, would deadlock
Traceback (most recent call last):
File "/home/solhu/Documents/Semester07/PDI/RobotCheckers/venv/lib/python3.9/site-packages/channels/staticfiles.py", line 40, in __call__
return await self.staticfiles_handler_class()(
File "/home/solhu/Documents/Semester07/PDI/RobotCheckers/venv/lib/python3.9/site-packages/channels/staticfiles.py", line 56, in __call__
return await super().__call__(scope, receive, send)
File "/home/solhu/Documents/Semester07/PDI/RobotCheckers/venv/lib/python3.9/site-packages/channels/http.py", line 198, in __call__
await self.handle(scope, async_to_sync(send), body_stream)
File "/home/solhu/Documents/Semester07/PDI/RobotCheckers/venv/lib/python3.9/site-packages/asgiref/sync.py", line 409, in __call__
raise RuntimeError(
RuntimeError: Single thread executor already being used, would deadlock
HTTP GET /static/resources/img/main_menu_image.svg 500 [0.44, 127.0.0.1:56402]
Sometimes image is not being loaded.
