Fix parallel states exits bug