fix(api) : prevent deadlock when calling API methods synchronously
fix(api) : prevent deadlock when calling API methods synchronously

FlexSearch/FlexSearch,FlexSearch/FlexSearch,FlexSearch/FlexSearch,FlexSearch/FlexSearch