Properly finish the run command in all cases