Making conneciton_pool number small
Add middleware to handle connection pool release