An express middleware for maintenance mode.