Catch timeouts in TempoDB library