Close net.Server asynchronously. Add Socket.write and Socket.destroy. Handle error conditions more better
Account for server.close() asynchronicity in NetTest