Added purge method to clear all topics