Release db connections