Only cleanup the python object references when a new instance is requested.