heartbeats for heroku
explicit flushing required