Release mutex if error.
Print internal config.