Added abstract method for purging queue