Remove use of EventEmitter in test because we no longer listen for close event of sockets