how to regularly get the status of webview

I have a webview which is connected to the server and set the timeout to webview .

   public abstract class TimeoutWebViewClient extends WebViewClient {

private final long timeout;

private final Handler timeoutHandler = new Handler();

private int loadingPagesCount;

private Runnable timeoutRunnable;

public TimeoutWebViewClient(long timeout) {
    this.timeout = timeout;
}

@Override
public void onPageStarted(WebView view, String url, Bitmap favicon) {
    super.onPageStarted(view, url, favicon);
    if (loadingPagesCount++ == 0) {
        onRootPageStarted(view, url);
    }
}

@Override
public void onPageFinished(WebView view, String url) {
    super.onPageFinished(view, url);
    if (--loadingPagesCount == 0) {
        onRootPageFinished(view, url);
    }
}

@Override
public void onReceivedError(WebView view, WebResourceRequest request, WebResourceError error) {
    super.onReceivedError(view, request, error);
    loadingPagesCount = 0;
}

protected void onRootPageStarted(final WebView view, final String url) {
    if (timeout > 0) {
        timeoutHandler.postDelayed(timeoutRunnable = new Runnable() {
            @Override
            public void run() {
                onTimeout(view, url, timeout);
            }
        }, timeout);
    }
}

protected void onRootPageFinished(WebView view, String url) {
    timeoutHandler.removeCallbacks(timeoutRunnable);
}

protected abstract void onTimeout(WebView view, String url, long timeout);}

Mainactivity:

      wv.setWebViewClient(new TimeoutWebViewClient(30000) {
        @Override
        protected void onTimeout(WebView view, String url, long timeout) {
            view.stopLoading();
            Toast.makeText(MainActivity.this, "Internet connection is slow", Toast.LENGTH_LONG).show();
        }

    });
 wv.loadUrl(url);

The webview would display server pages, Now Whats My problem was. if I am navigating inside the server page, the timeout is not working.for example, In my server page if I press the result button it's loading almost 2 minutes.but I set the time out of 30 seconds only.It's not working in between the page navigation.Any help will be appreciated.