A disinfecting cap includes a body comprising an opening, a bottom, and a chamber defined between the opening and the bottom. The chamber is configured to hold a liquid disinfectant. A male post extends from the bottom towards the opening of the body. A wall of the chamber comprises a thread originating proximate the opening and extending into the chamber. At least a portion of the thread has a height that increases as a function of increasing distance from the opening.