fix: do not hang on sync END event