+static void status_event_handler(__a_unused struct task *t)
+{
+ struct timeval delay = {1, 0};
+ int i;
+ struct status_task *st = t->private_data;
+
+ PARA_ERROR_LOG("%s\n", PARA_STRERROR(-t->ret));
+ close_stat_pipe();
+ /* avoid busy loop if server is down */
+ tv_add(now, &delay, &st->restart_barrier);
+ FOR_EACH_AUDIO_FORMAT(i)
+ afi[i].restart_barrier = st->restart_barrier;
+}
+