Connection: fix functions
Parser: break out immediately instead of satisfying exit condition