Fixed issue with address socket limit while behind proxy