Wait for last simulation before starting a new one.