Fetch method never ends when there is no namespace.

When no namespace is found (there is nothing in the mongodb collection for instance) then the fetch method never ends.