Moved the Curl object from inside of the BatchHanlder to outside as a Dependency Injection