If I remove the splash screen and the restart on crash, I don't get the wrapping process and thus exiting work. This sounds like a bug in the wrapping process.