ISPN-3271: Connection leaks in JdbcBinaryCacheStore

https://issues.jboss.org/browse/ISPN-3271

The fix simply surround all the code with a try/finally block, to be able to call properly releaseConnection in all the situations