I think it would be better if this loaded the task and called the task, then the task would call the model which would do the db query to remove the bookmarks.