Add timeout to SymPy slow tests