I have a form application and I am using another form application as subform. I am creating subform and it opens serial ports and sockets. When I close the subform it doesn\