notnoop/java-apns — pull request #122 by arctouch-michelzanini (2013-07-08 20:28:30+00:00)
Title: Issue #104 - Moving drainBuffer() call to execute after socket is closed

I believe that the drainBuffer() method should be executed after the socket is closed, to get a new fresh socket.