task engine, fixed issue when ssh keyfile was getting removed before it was no longer needed