attempt fix test_frontend race conditions