Adding endSession on session client initializer.