Fix timedout error message when timeout reached.