mentioned thread safety issues in the docs

Signed-off-by: Jan Dvořák <mordae@anilinux.org>