Limit scope of underflow() lock

    Prevent potential deadlock if curl is using the same thread.