Clear command doesnt timeout

I’m sending clear command on a text field in ios simulator. It shows the error “keyboard is not present” which is fine but it kind of gets stuck in this endless loop until the session timesout. Ideally it should show the error and terminate immediately. I have ios version 13.1 xcode version 11.1 and appium version 1.15.1