If I Recall Correctly, RRDS::graphs is a wrapper around a call to rrdtool(). rrdtool() may not be thread-safe, or one of the C libraries that it uses isn't thread-safe. If it was me, I'd fall back and fork processes to build my graphs.
----
I Go Back to Sleep, Now.
OGB