Moving this `SESSION_API_CALL` probably means that sometimes we'll report being in a checkpoint call rather than compact on error. I couldn't figure out a nice solution. I created an internal checkpoint method, but that was ugly so I backed it out.