Management of obstructive sleep apnea