The maximum stay period permitted through the US B1/B2 Visa is for 6 months. Your Visa can terminate while you are still in the US. You must just make sure that you do not stay beyond the period allowed by the Immigration Officer.