Chunk server: fix read after free in remote sync state machine by restoring self referencing in handle event method.