pub fn write_close_command_response_on_msg_buffer(ctx: &mut CommandContext)