retrieve offline msg from sdk after connected