inserting endpoint strings with parallel threads