PCT-671: Support for explain

Alpha prototype, WIP
Should we use any locking while checking running flag?