[FIX] XQuery, xquery:eval: timeout handling. Fixes #895