retrive events in global context
ws close