allow for dynamic allocation in pool size (for some reason pool size equal to 40 created 80 connections)