Catch exception that otherwise terminates history resubmition
Reimplement history resubmit logic with reference count. Remove echo message logic.
Resolve resubmit promise for empty history