Don't increment the context reference count when locked