I am basically expecting to create 20 threads, tell them to do something, write the values to DB and then have them all returning zero and going again to take the next data etc.