add some server validation to prevent demo server down