Fix network tests
Add detect_connection_closed test