Fix include paths
Do not wait indefinitely if all hosts are dead

Mark the session as "done" if all hosts are dead before "run" method is
executed.