Run esc on quit so it (hopefully) runs after tsc