normanmaurer/niosmtp — pull request #22 by rocketraman (2012-03-08 04:30:29+00:00)
Title: Wait for servers QUIT response before TCP session close

When closing the session before the QUIT response was received, niosmtp
would receive the server response packets after the close, resulting in
one or more TCP reset packets being sent back and forth.

Instead, do the close in a new QuitResponseListener.