Updated Connection closed problem
Working fine