I am so sorry. Obviously, `DEFAULT_MAX_WAIT ` or `DEFAULT_TAKE_TIMEOUT ` will be better and this function named `get_waiting_time` probably be better.