removed non working socket exception