Make it work w setTimeout.