Ensured outbound http object is release and promise is set when a failure occurs