Planning and Acting While the Clock Ticks