Revert "Fix memory leak on crawler"

This reverts commit b0837fb768619cae2a71a86cfd41406144de7cd9.