Allow tuning the number of worker threads or using OIO.

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>