fix init loop - set timeout