Each had a contract that expired at midnight Monday , but as the witching hour approached , Brian Cashman was trick-or-treating with his young children at home in Connecticut , his workday with the Yankees complete ; Theo Epstein was resigning from the job he had once dreamed of having in Boston .