better try/catch to avoid unwanted confusion on errors that happen after requests