Don't kill terminal until everything is done