Fixed a bug where any region could be given.
Fixed a bug where the response was being closed before the read was complete.