Threshold structure of channel aware distributed scheduling in ad-hoc networks: An optimal stopping view