shell: try to make sure the client is closed when closing weston