python keyboardinterrupt ctrl c not working