Make shell to exit if any subprocess exits with a non-zero status