Fix Application#reset destroy issue