closes session in db when all users vote