Re-check deploy state in web js before polling