Adding in the Timeout decorator I found in a Stackoverflow answer that allows you to set a timeout for any other callable.