fixing socket closed exception