This allows one to configure how a subsequent reset will behave and also trigger a reset. Fixes #350 and fixes #173