Connect event should be sent before any other event