Add close routine to free resources. TBD subtitles poiters should be free'd