Don't have SQL turned on for threads other than the main one