create documents on different thread
speed up count(*) query for admin
Merge pull request #79 from giastfader/reactive

create documents on different thread