server: close conn when closing serv