Remove tasks from publish task