experiment recurring option of sync that does not deactivate a deadline after it expires
add newlines when printing traceback, make debugging easier
allow subclassing StoppingState, more flexible state matching