All that does is cause the program to wait 5 seconds before exiting. It still doesn't receive any input from the keyboard (because, as others have pointed out above, STDIN isn't connected to the keyboard).
And <code> tags are your friends.
Comment on Re^2: the greedy diamond, or leggo my STDIN