fix tryCatch
fix timeout tests