Added PID usage to save server-info before shutting down.