Some more debugging and it's now clear that it's the `deallocate_static_ip_addresses` (called as part of releasing) that's stuck, waiting for a thread.
Some more debugging and it's now clear that it's the `deallocate_ static_ ip_addresses` (called as part of releasing) that's stuck, waiting for a thread.