Update zeroexecuter_main.py

add condition of connection and login 
add condition which status change disconnect to connect