fixed client disconnecting problem by closing the connection