Dispose domains properly