Delay onuncaughtexception