Remove EPIPE handler once logging is done