Short-circuit detection of connected load