test keep_connect line works