Stopping a HitTestObject after a certain frame

I am placing my code within frames and using the code below to hit test an object. After the animated object leaves the stage, the hit test starts getting errors because it is now looking for an object that isn’t there. NULL

 Code:
var o1:MovieClip;
o1.addEventListener(Event.ENTER_FRAME, o1hit);
function o1hit(Event) {
    if (circle_mc.hitTestObject(o1)) {
        playerLives-=1;
        gotoAndStop(2);
    }
}

So the question is: How can I get the Hit Test to stop after a certain frame? …Or does it have to do with the EventListener?