Fix zmc crashing on shutdown (for remote http cameras) caused by content_length sign mess