updated delay method, and added path and tls
added helper with sh and rs deps to wait for connect and save config