Wait for PrologFrontend complete in salloc