make close method of ConnectionProviderPooled idempotent