task is removed if updating slave is unsuccessful