Handle Terminable middlewares