Improved SQL multi-threading!