manual close of db connections