XSLT: Use blocking reads instead of a polling thread