Easy timeouts for Python