Always login fail when once used wrong username or password

I’m useing smack4.1.1 in android with openfire 3.9.3

When I use


with wrong username or password,I can’t login again with correct username and password unless disconnect this connection and connect again.

this is the error

System.err﹕ at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(
System.err﹕ at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$200(
System.err﹕ at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$