* fix(msg): close control connection on write failure * fix(msg): handle shutdown enqueue race and preserve constructor API