modified TSX RTM algorithm to not attempt TSX if function constantly aborts