This also demonstrates calling .abort() on a TCP socket and ensuring that the reset packet is sent out.