Track last promised id.

See #121.