Pyuv will still pass data from closed stream, so we must handle this.