COHORT B: Patients receive sapanisertib PO 2-4 hours before surgery on day 0. Within 30 days after surgery, patients receive sapanisertib PO once weekly. Courses repeat every 28 days in the absence of disease progression or unacceptable toxicity.