[NET] net/core: Fix error handling