[redmine#39209]Fix bug: Processing UI in sub thread results in block after receiving reader cancel or vend cancel command
