fix async bug where it was terminating before all were received and also get it ready to run as a library call
fix async bug where it was terminating before all were received and also get it ready to run as a library call

rafaeljesus/check_http_bulk