manage exit with code null with or without signal
fix toString() error on exit code null, more debug info