Prevent multiple threads to populate the keyword table