Attempt to optimize thread dispatch