Created socket creations with exception being throw. Very dangerous