Fixing ImageRegistry leaking. Updated to 0.9.8