Fix bug in crawler and renrenagent.
Initialize resource pool.