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