Correctly register pending connection when using legacy network handler.