Python module which allows you to specify timeouts when calling any existing function, and support for stoppable threads