Moved CloseTV() call out of loop since we don't want that to happen every 30 seconds.