@katchaplin
Thanks. Your suggestion worked. However all I've done is reduce the ground aircraft density to zero and reduce the number of vehicles and workers to 50%. As you said, the problem then only comes on shutdown, and without the pilot appearing.
At least I can use the aircraft whilst waiting for a fix.