Avoid starting HiveContext.sessionState multiple times