Implemented destroy task