fix incorrect semaphore value on cloud reconnections
fix incorrect semaphore value on cloud reconnections

evrythng/evrythng-c-library,evrythng/evrythng-c-library,evrythng/evrythng-c-library,evrythng/evrythng-c-library