create documents on different thread