title: when the device internet does not work (or is turned off) exits the program. (Jsoup)
body: <p>JSOUP</p>
  <p>when the device internet does not work (or is turned off) exits the program.</p>
  <p>but it works without problems (without app crash) while the internet is running.</p>
  <p>if the program enters this coded part of the program without the Internet, the program will crash. the program should not crash when I access this coded part without internet. just a toast message that the internet is not available is enough. how can i do?</p>
  <p><strong>EDIT:</strong></p>
  <p>the problem is when I don't add a toast message.</p>