* release resources when thread is done * add white space * add white space Co-authored-by: deanlee <deanlee3@gmail.com> old-commit-hash: 02e474580ee90713bc3426ea512278c5eb1c6b15
old-commit-hash: 978e0eb9865001d247fd537803fd7e65ca928adf
old-commit-hash: 6c33a5c1f3878e1d8c8a9db600dd44d188f02c87
old-commit-hash: 8da8b6135c600ec653c16606239364ab9324fd98