unable to close db connection