XMPPConnection.isConnected() erroneously returns true

I am having the same problem as that described in this thread: http://www.igniterealtime.org/community/message/149840#149840

The thread never indicates whether there is a bug with XMPPConnection.isConnected(). Is there a bug? I’m using Smack 3.0.0.