Avis legal

unable to close db connection