(#22): Implement purge task command.