Did you remove the wait(1) in question AND publish? It does not crash in dev mode.