fixing issue with closing connections using HikariCP pool.