finally block with connection/stream close is missing