I've never consciously pressed keys any longer than normal when using this method but then I've never stress-tested this approach.
That is another reason for using a Switch action - you can have an "otherwise" condition to catch all those instances (if any) when a key other than the ones you are looking for is pressed and deal with it sensibly; equally, you can put an IF action in the Otherwise condition to check whether the key is no longer being pressed, and deal with that if it should ever arise.