I don't understand. What do you mean by "the connection just break out"? If you step through your code when you try to connect again, what happens?