Fixing RNA thread management bugs.