Added option to attempt to resume backgrounded jobs if called by name
Faster/neater checking for ssh connections