refactoring: rename OWN_THREAD -> POOLED_THREAD, SINGLE_THREAD -> OWN_THREAD