added mechanism to handle zombie processes + misc fixes on error handling in ssh submit