Removed http.disconnect block, as that method is not supported.