add timeout and responseTime middlewares