add null checking when disposing http client
add null check when disposing worker context
Merge branch '0.4.0.0' of https://github.com/intel-cloud/cosbench into 0.4.0.0