output: ensure that all exit paths in output_write_nmsg() and output_write_pres() unlock the output lock
output: ensure that all exit paths in output_write_nmsg() and output_write_pres() unlock the output lock

hstern/nmsg,hstern/nmsg,hstern/nmsg,hstern/nmsg,hstern/nmsg