title: Kotlin detect timeout on request to server
body: <p>Hi I'm still new to kotlin language, when requesting data to server for example in java:</p>
  
  <pre><code>try{
      request_server();
  }
  catch(IOException e){
      //Some toast for network timeout for example
  }
  </code></pre>
  
  <p>How can I check if that request if have network timeout in Kotlin?</p>