disable websockets and eventsources in enterprise