Apparently "del m.handles" does not work in python 3