I typically keep an eye on Foxy when she gets ready to run, and once I don't see her on the camera anymore, I shut the door.