Description
A maxPoolSize of 1 can cause starvation during createConnection if the only connection gets evicted concurrently since borrow method of pool has no timeout waiting forever.
Maybe introduce a new variable connectionTimeout with default 30000ms.