Reduce wait between connect and check to 50 ms
Create a cmake configure file so other projects can use the library