fixed memory leaks in OATokenManager