session: fix clib_rwlock_writer_unlock lost