Fixed build; removed destructor
Added disconnect response when server is closing connection