Listener to clos Connection
CloseWindowListener added
formatted