separate data into thread internal and external context
renaming to non-exporting internalSubscription as per tuxychandru's request