The code in ExecContext is executed in the gRPC thread pool, which means that it must be thread-safe.
ExecContext
+= and -= are not thread-safe in Python.
+=
-=