Fix memory leak on crawler