Bind to an ephemeral port, force it into the TIME_WAIT state, and unbind it.
