Don't restore previous serial state on shutdown.

This causes a restart on windows, which breaks relay mode.