Added init of locale even when error happened in Dispatching process.