improve database timeout mechanism for discards script

	modified:   src/bruce/scripts/check_bruce_discards.py