try harder to close connections when bailing