Add logs and restart call to API