No use of thread when doing SQL Inserting