This isn't the resource leak, turns out.
Fixed a bug where stop resources failed