add error handling for timeout

there will be a warning message to user if the request is timeout,
rather than a full traceback...