ensuring that writing the monitoring file can never crash the broadcaster