Don't bother trying to cleanup the image.
Ok I realise now that when you specify HostAddress 127.0.0.1 it actually routes to the host's non-loopback ip. So I just need to listen on all interfaces for this test to pass