Fixed timeout in test_pytest_plugin.py::test_keyboard_interrupt_does_not_resume_test (#1253)