Added timeout support to runner.