Add context manager for tmp bindings for TLS