Fix some nested timeout errors to prevent outer timeout termination.