The Heroku::Commander.run with detached: true will now restart the tail process when aborted without having received a process exit message. Added a tail_retries that defines the maximum number of tail restarts, default is 3.