empty connection handling