Factor out looper thread activity scheduling