Fix thread pool mutex crash. the cleanup mutex struct should not be copied
and share used by multiple thread, which cause crash on some platform,
e.g. ios/darwin