Clean up a custom Docker network on DLE failure

Goal

DLE creates its own Docker network. On a retrieval error, the Docker network continues to exist.

If there are too many networks on the machine, an error occurs:

[ERROR] Error response from daemon: could not find an available, 
non-overlapping IPv4 address pool among the defaults to assign to the network

TODO / How to implement

On DLE retrieval failure:

  • disconnect containers from a custom Docker network
  • clean up custom Docker networks

Acceptance criteria