close connection on Database __del__