wait for static condition