Change SET_ERROR > SET_DEBUG_ERROR
Add KeepAliveThread mechanism
...