fix db connection close issue for oauth
Merge branch 'master' of github.com:cloudspokes/tc-api