Although the method is marked as thread safe in the docs, if you use a database plugin it ends up not being thread safe.