setting response header connection to close
After some really time consuming effort to try to set header connection to "close" with WebAPI, i finally resorted to good old all powerful nodejs.
Using the code below and fire away. It is able to accept incoming request from any port. Done! :)