Issue #52: fixed by closing all clients connections when server is stopped