add method to clear all task record.