BFO close db connection