Added config parameter to force close the application after a crash.