Modify bindings in the same thread of execution to avoid concurrency errors in a session #54