fixed socket was closed Exception| chethan - deepthi