title: Smack 4.1 No Response within reply timeout
body: <p>I am using the following code in my android app: </p>
  
  <pre><code>Thread d = new Thread(new Runnable() {
  
      @Override
      public void run() {
          SmackConfiguration.setDefaultPacketReplyTimeout(10000);
          XMPPTCPConnectionConfiguration config = XMPPTCPConnectionConfiguration.builder()
                    .setUsernameAndPassword("admin", "password")
                    .setServiceName("192.168.0.200")
                    .setHost("192.168.0.200")
                    .setPort(5223).setSecurityMode(SecurityMode.ifpossible)
                    .build();
  
          AbstractXMPPConnection conn2 = new XMPPTCPConnection(config);
          try {
              conn2.connect();
              conn2.login();
  
              Presence presence = new Presence(Presence.Type.unavailable);
              presence.setStatus("Gone fishing");
              // Send the packet (assume we have an XMPPConnection instance called "con").
              conn2.sendStanza(presence);
  
          } catch (SmackException | IOException | XMPPException e) {
              e.printStackTrace();
              Log.d("TAG", e.toString());
          }
  
          ChatManager chatmanager = ChatManager.getInstanceFor(conn2);
          Chat newChat = chatmanager.createChat("harsh@192.168.0.200");
  
          try {
              newChat.sendMessage("Howdy!");
          }
          catch (NotConnectedException e) {
              e.printStackTrace();
          }
      }
  });
  
  d.start();
  </code></pre>
  
  <p>This is returning this error:</p>
  
  <blockquote>
    <p>05-14 18:07:48.030: D/TAG(19470):
    org.jivesoftware.smack.SmackException$NoResponseException: No response
    received within reply timeout. Timeout was 10000ms (~10s). Used
    filter: No filter used or filter was 'null'.</p>
  </blockquote>
  
  <p>I have set up a local server at 192.168.0.200. Could anybody tell me what the problem is? </p>
  
  <p>I am using these libraries: </p>
  
  <p><img src="https://i.stack.imgur.com/Te9J1.png" alt="enter image description here"></p>