A device for treating a patient suffering from obstructive sleep apnea or snoring, the device comprising: a manifold; an expiratory valve connected to the manifold, the expiratory valve comprising a first end and a second end, the first end being closer to the patient when the patient is using the device, the expiratory valve further comprising: a body portion comprising a feedback port configured to be connected to an air flow generator; a plunger at least partially disposed in the body portion, the plunger comprising a first end and a second end, the first end being closer to the patient when the patient is using the device; and a pressurizing chamber positioned between the second end of the plunger and the second end of the expiratory valve, the pressurizing chamber configured to receive air from the air flow generator through the feedback port, wherein the plunger is configured to move between an open and a closed position; characterized in that the expiratory valve further comprises a magnet positioned between the first end of the plunger and the first end of the expiratory valve, wherein the plunger is spaced apart from the magnet when the plunger is in the open position, and wherein the plunger is magnetically connected to the magnet when the plunger is in the closed position. a manifold; an expiratory valve connected to the manifold, the expiratory valve comprising a first end and a second end, the first end being closer to the patient when the patient is using the device, the expiratory valve further comprising: a body portion comprising a feedback port configured to be connected to an air flow generator; a plunger at least partially disposed in the body portion, the plunger comprising a first end and a second end, the first end being closer to the patient when the patient is using the device; and a pressurizing chamber positioned between the second end of the plunger and the second end of the expiratory valve, the pressurizing chamber configured to receive air from the air flow generator through the feedback port, wherein the plunger is configured to move between an open and a closed position; characterized in that the expiratory valve further comprises a magnet positioned between the first end of the plunger and the first end of the expiratory valve, wherein the plunger is spaced apart from the magnet when the plunger is in the open position, and wherein the plunger is magnetically connected to the magnet when the plunger is in the closed position. a body portion comprising a feedback port configured to be connected to an air flow generator; a plunger at least partially disposed in the body portion, the plunger comprising a first end and a second end, the first end being closer to the patient when the patient is using the device; and a pressurizing chamber positioned between the second end of the plunger and the second end of the expiratory valve, the pressurizing chamber configured to receive air from the air flow generator through the feedback port, wherein the plunger is configured to move between an open and a closed position; characterized in that the expiratory valve further comprises a magnet positioned between the first end of the plunger and the first end of the expiratory valve, wherein the plunger is spaced apart from the magnet when the plunger is in the open position, and wherein the plunger is magnetically connected to the magnet when the plunger is in the closed position.