re-add missing marker removal on session close