Man dies during attempted rape