Usar while context manager.