Added ebury socket check