Use deferred for getting smart page of keys in streaming