Force evaluation of S for related_documents inside try.