Fixed run loop break condition.