Implemented `run_until()` function. Closes #124