Before dealing with this issue, I may want you to send me the following informations for clarification:
1.Did it show any error message at the console after disconnection.If so, can you send me the error message?
2.Can you send me the debug output?
3.Your network setup description?
If you send me these details, I will be able to help you in sorting out the problem