add thread-safe getValidConnectionCount, and isOffline by it
rename ifOffline to isInvalid, connection statement not handled in top-push abstraction
add afterPulling for continuing