Move shutdown terminal reset to finalize()
Move shutdown terminal reset to finalize()

brmeyer/aesh,aeshell/aesh,jfdenise/aesh,ryanemerson/aesh,jerr/aesh,gastaldi/aesh,aslakknutsen/aesh,stalep/aesh,felipewmartins/aesh