See the comments in
bug 1444732 before reading on.
Back? Good
Although removing the call to gettext() has fixed the shutdown problem, I don't know enough (read: anything) about gettext() to understand why calling this during the shutdown process should cause problems.
Can our gettext() gurus shed some light on this?