ConnectionPoolTimeOut Exceptions

Hi,
we have been experiencing connectiontpooltimeout exceptions with vault. Restarting vault pods does resolve the issue, but then what is the approach to be taken to eradicate those errors. They seem to occur intermittently . Is there a way to programmatically keep closing vault connections after completing a vault transaction?