[BUG]- Kodi crashes on startup if pvr backend isnt ready

hi,
after switching from v16 to v17 kodi crashes most of the time on startup. kodi only crashes if the pc is powered on from “real off” (s5). if the system is running for some time kodi does not crash during the start. i use windows 8.1 and mediaportal backend. i think its because my mediaportal backend needs some seconds longer than kodi to start up. now i (auto)start kodi with a delay of 5 seconds and it seems after some short tests that this solve the problem. @developer: i have some stacktrace files – let me know if you need something.