Use a shorter timeout with `test_keyboard_interrupt`