cleaned and fixed for hyperic

new version for hyperic with reconnect