Error In Log File When Home Assistant Restarts

I have started getting this error in the server log when I restart Home Assistant. It didn’t use to appear but now it does after each restart.

Logger: homeassistant
Source: runner.py:97
First occurred: 10:29:01 AM (1 occurrences)
Last logged: 10:29:01 AM

Error doing job: Task was destroyed but it is pending!

Any ideas on what might be wrong?

Thanks,

I get the same error every time ai restart HA