Close To The Wind Meaning

Example: Used other than as an idiom: see close to,‎ the,‎ wind.
Near a limit of feasibility or compliance with law or morality.
1983, Colin Watson, Six Nuns and a Shotgun, page 167:
  I mean, I shouldn't be altogether flabbergasted if you were to tell me that there had been tax fiddles here, or even something a bit close to the wind where the play and the girls are concerned.
2000, David S. Bell, Presidential Power in Fifth Republic France, page 116:
  Coming on the heels of revelations about financial and property dealings a bit close to the wind in other sections of the Gaullist Party, the authority of the Prime Minister could not but be weakened