Feature #3949: Refactor cc.pool from class to singleton object