shutdown console delegate on exception