objecter: session locking

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>