Do not handle keypress when not connected