Adjusted loader using apache http client