check for thrift specific exception. Fixes rSK9563e93562c8