- Removed Sleep and made sure client is always connected before sending the data