better logging so we can actually see where it gets stuck