Deploy on heroku
Perform the infinite loop in a background thread