Shutdown order change feature request

I generally have very good reliability with SGP running through the ASCOM driver for TheSkyX. On rare occasions SGP is unable to park the mount and close the roof on shutdown. I had one such last night.

The ASCOM driver is limited by the TSX API and it can get confused if multiple commands are hitting it at the same time (probably a sync/async thing, but I am no expert).

Looking at the log file, SGP sent the ASCOM park command before trying to stop PHD2 guiding (direct guide method through ASCOM). I think in some instances, conflicting commands from both cause the park command to issue an exception. The TSX ASCOM driver was otherwise fine, since I was able to manually close the roof later on, through another application, connected to the same ASCOM driver… so it does not appear to be the case that the ASCOM driver dynamically disabled its options due to exceptions from the API.

It might help if the guider is stopped before trying to issue the park command. I cannot see the harm in it.