Is The Connection Kept If I Break Out Of A Datareader?

Just wondering. I have the following code:


//Some param bindings...



   if(something happens){




Supposing that my reader has 3 rows, and that I break out of the while loop at the first iteration, is the connection kept? Or does Yii/PHP gets rid of it immediately?