Updated to use multiple threads for requests.

Now the requests are distributed through various threads. This brings a
notable speed improvement (depending from the number of threads).