Added closing down OpenSim to startup script.