[fix] ensure after handlers called when "notfound" invoked

- [x] @aintaer