Clean up tasks.