Better pattern to parse for to check if connected properly.