Middleware flow controls for Reem