statepool: cleanup