patch 7.4.1413
Problem:    When calling ch_close() the close callback is invoked, even though
            the docs say it isn't. (Christian J. Robinson)
Solution:   Don't call the close callback.
diff --git a/src/netbeans.c b/src/netbeans.c
index 44a725e..441ca76 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -100,7 +100,7 @@
 	netbeans_send_disconnect();
 	if (nb_channel != NULL)
 	    /* Close the socket and remove the input handlers. */
-	    channel_close(nb_channel);
+	    channel_close(nb_channel, TRUE);
 	nb_channel = NULL;
     }