Added automatic send of keepAlive message