Sucessful previous build + New code to check the connection state