Clear up frame pool at exit.