leave sent messages in scheduled_tasks array.