NXP-11051: fix wrong HttpClient use, leading to stuck CLOSE_WAIT connections