URLEncode for params, close reader after usage