added a keep alive monitor