fix some rt cleanup and failure edge cases

Would also be nice to call it "pushedMarker" so it's clear what the purpose is.