while true keyboardinterrupt python