Resizes the pool by recreating it with newMaxSize.
newMaxSize
All connections must be released before resize. Returns true on success, false on failure.
bool setSize(int newMaxSize) => _backend.poolSetSize(_poolId, newMaxSize);