improvement in connection manager (5 sec interval added)