threadsafe StringBlock