iOS sendKeys and setValue() halts the execution, partially entering the String when tested for longer duration of test execution

My test case execution is halted whenever appium is trying to do sendKeys or setValue.

This happens once in 20 execution.

I am automating an native application on iOS(10.2) with Appium (1.7) and Xcode 9.

This is similar to this issue : 476.

Is there any other alternative to enter text other than sendKeys and setValue which can avoid appium freeze issue while send keys.

My execution halts exactly while inserting partial string , logs shown below:

[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8679/session/ED29E8E7-983C-49A7-BFE9-1FA050B6A114/element] with body: {“using”:“accessibility id”,“value”:“*******”}
[debug] [JSONWP Proxy] Got response with status 200: {“value”:{“ELEMENT”:“527257AA-D495-43FB-9D15-99169BC1F2C2”},“sessionId”:“ED29E8E7-983C-49A7-BFE9-1FA050B6A114”,“status”:0}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“527257AA-D495-43FB-9D15-99169BC1F2C2”}
[HTTP] ← POST /wd/hub/session/57d3099b-ab38-41dc-ad5c-141ca64c175a/element 200 1289 ms - 122
[HTTP] → POST /wd/hub/session/57d3099b-ab38-41dc-ad5c-141ca64c175a/element/527257AA-D495-43FB-9D15-99169BC1F2C2/value {“id”:“527257AA-D495-43FB-9D15-99169BC1F2C2”,“value”:[“Quality@1234”]}
[debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [[“Quality@1234”],“527257AA-D495-43FB-9D15-99169BC1F2C2”,“57d3099b-ab38-41dc-ad5c-141ca64c175a”]
[debug] [XCUITest] Executing command ‘setValue’
[debug] [JSONWP Proxy] Proxying [POST /element/527257AA-D495-43FB-9D15-99169BC1F2C2/value] to [POST http://localhost:8679/session/ED29E8E7-983C-44A7-BFE9-1FA050B6A114/element/527257AA-D795-43FB-9D15-99169BC1F2C2/value] with body: {“value”:[“Q”,“u”,“a”,“@”,“1”,“2”,“3”,“4”]}