Update README

Add "if" to test if client is connected