Implementation of processing thread to avoid blocking receiveCb method. Retrieval of sessionId associated to events, to be used to send the device policy to the corresponding sessionId origin