Wrap the keyboard intercept helper in a try/except