fix timeout.py time limit bug