Fixed possible crash in case if Sync message not handled or subscribed