placed main provider execution in async endless loop