Cancel SHUTDOWN if initial AOF is being written

If we're writing the initial AOF, we shouldn't exit because Redis will load the empty (or partial) AOF on restart.