Exit after unexpected exception