Fixed a bug in the port test where the httpwebclient was looking for a response before completing the request.