wait when depend resource not ready