Failed gamma-ray bursts and orphan afterglows