Don't busy-loop for keys so much