Add timeouts because python is dumb