util/event-loop-base: Introduce options to set the thread pool size