node thread sleep time + view start in app