ws changed to receive close json