Fix bug 996. Error status when cluster is not ready