Add Middleware HandleAfter handle for the executed middleware when an HandleAfter return an error