apply thread safe with new em-http