Fix datarace on processing daemon