fix for stale http connection