Added timeout and state for sntp client