Avoid cyclical reference memory leak