Replace sleep with ajax wait in Subnet tests