Add exit_on_disconnect property to avformat producer.