Remove the 'forever' statement in the sockat SOCKS4A part:
  * /!\ when the remote peer is offline, socat indifinitely forked, almost _crashing_ a box /!\