test__server.py: close sockets
fix accept in server
fix server