On SSH connection loss, mark jobs as 'dead'

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Properly quote args that are strings

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>