Fixed VM leak on slave deletion