Revert "Moved _closed bool"

This reverts commit c7e36a8ff050408fa5a90d95aadc0e003f362f39.
Moved _closed bool

Moved closed bool to prevent multiple asyn callbacks from processing
when server has initiated a close, issue occurs when server disconnects
client, not when client disconnects from server.