r468: Fixed shutdown error (i hope!)