silent failure for .write() after .end() was called