[lib] Factor out defaultSubscription in createPendingThread
Summary:
I might want to revist this after @ginsu lands his related diff.
Depends on D12493
Test Plan: Flow
Reviewers: kamil, marcin, ginsu
Reviewed By: marcin
Subscribers: tomek, ginsu
Differential Revision: https://phab.comm.dev/D12494