catch TimeoutError from js processing