check threads enabled