fixed http bottleneck

wrong requests weren’t closed properly