due to go1.2, we can set max threads now