Created by: ziirish
Add multi-threading capabilities when flushing the cache in order to avoid nagios waits.