catching server down exception