use cmd_quit to terminate connections quicker

quit is quicker than close because close needs to
wait for blocking reads to complete.  When cmd_quit
is sent the connection closes right after sending response

Change-Id: If0312dc235ae5bac87a2b9344cfc35e19e2b04e3