GetMemberStats close database connection