https://bugzilla.wikimedia.org/show_bug.cgi?id=55127
--- Comment #13 from Merlijn van Deen valhallasw@arctus.nl --- This solves the basic issue, but does not fix the other two issues (the main thread will not respond to ctrl-c until the timeout is reached; also the thread will not be stopped until the timeout is raised)