Improve performances of the task queue.

Ensure no new properties are added.
Don't use the delete operator.
According to previous discussions.