just stop trying to bind a port when it fails 20 times, to avoid an endless loop of trying to bind ports