Python interface now use native keyboard from keyboard factory.
handle IOSKeyboard::Cancel() in more thread-safe way.