added open/close msgs to diagnostics