Semi-closed circuit rebreather