haltOnTimedout as an API

seems like something useful to have whenever `timeout` is used