removeFromQueue

Removes all objects with the same id from the internal persistent queue