Restore point even when errors.

Fixes #23.