reduce sharing context ref count only it is bigger than zero during context destroy